<div class="form_section">
<h1><?=$meal->meal_title?></h1>
<h2>Categories:</h2>
<div class="subtitle">
<?foreach($categories->result() as $key => $result):?><? if ($key > 0):?>, <?endif;?>
<?=$result->category_title?>
<?endforeach;?>
</div>
<h2>Ingredients:</h2>
<div class="subtitle">
<?foreach($ingredients->result() as $key => $result):?><? if ($key > 0):?>, <?endif;?>
<?=$result->ingredient_title?>
<?endforeach;?>
</div>
<h2>Description:</h2>
<div class="subtitle">
<?=$meal->meal_description?>
</div>
</div>
<div id="button_section" class="form_section">
<a class="button" href="<?=base_url()?>meal_editing/create_meal/editMeal/<?=$meal->meal_id?>">Edit Meal</a>
<a class="button" href="<?=base_url()?>meal_editing/create_meal/cloneMeal/<?=$meal->meal_id?>">Copy Meal</a>
<input type="button" class="buttonLight doubleButton" id="delete_meal" value="Delete Meal"/>
</div>